import http from '../index'

export function getReataurants(pageSize){
  return http({
    url:`/shopping/restaurants?latitude=31.22967&longitude=121.4762&limit=${pageSize}`,
    method:'get',
  
  })
} 

export function getReataurantPage(page,pageSize){
  return http({
    url:`/shopping/restaurants?latitude=31.22967&longitude=121.4762&limit=${pageSize}&offset=${page}`,
    method:'get',
  
  })
} 

export function getReataurantCounts(){
  return http({
    url:`/shopping/restaurants/count`,
    method:'get',
  
  })
} 